* lisp/thingatpt.el (thing-at-point): Accept optional second argument
authorSam Steingold <sds@gnu.org>
Wed, 8 May 2013 15:13:25 +0000 (11:13 -0400)
committerSam Steingold <sds@gnu.org>
Wed, 8 May 2013 15:13:25 +0000 (11:13 -0400)
NO-PROPERTIES to strip the text properties from the return value.
* lisp/net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
to `thing-at-point' instead of stripping the properties ourselves.
Also, when `thing-at-point' fails to find a url, prepend "http://"
to the filename at point on the assumption that the user is
pointing at something like gnu.org/gnu.

lisp/ChangeLog

index f7665df59ff4a7c7dfd11ab6a267d271092080c9..ca7c7fb3c2ba335e48241512ff928af88c04816a 100644 (file)
@@ -1,3 +1,13 @@
+2013-05-08  Sam Steingold  <sds@gnu.org>
+
+       * thingatpt.el (thing-at-point): Accept optional second argument
+       NO-PROPERTIES to strip the text properties from the return value.
+       * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
+       to `thing-at-point' instead of stripping the properties ourselves.
+       Also, when `thing-at-point' fails to find a url, prepend "http://"
+       to the filename at point on the assumption that the user is
+       pointing at something like gnu.org/gnu.
+
 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
 
        * emacs-lisp/bytecomp.el (byte-compile-insert-header):